function fn(min, max) {
  let num = 0
  num = Math.floor(Math.random() * (max - min + 1)) + min
  return num
}
let num = fn(0, 100)
if (num <= 25) {
  document.write(`
  <div class="pic" style="border: 3px solid rgb(248, 14, 229);">
          <img src="./images/动漫02.png" alt="" >
          <i class="light01"></i>
   </div>
  `)
}else if (num > 25 && num <= 50){
  document.write(`
  <div class="pic" style="border: 3px solid rgb(248, 14, 14);">
        <img src="./images/竖版图01.jpg" alt="">
        <i class="light02"></i>
      </div>
  `)
}else if (num > 50 && num <= 75){
  document.write(`
  <div class="pic" style="border: 3px solid rgb(18, 14, 248);">
        <img src="./images/竖版图02.jpg" alt="">
        <i class="light03"></i>
      </div>
  `)
}else if (num > 75 && num <= 100){
  document.write(`
  <div class="pic" style="border: 3px solid rgb(248, 233, 14);">
        <img src="./images/竖版图03.jpg" alt="">
        <i class="light04"></i>
      </div>
  `)
}
